<template>
  <div class="logo">
    <img :src="url" alt="" />
  </div>
</template>

<script>
// 本地的相对路径，作为变量，需要import
// import url from "../../../assets/images/logo.png";
export default {
  data() {
    return {
      url: require("../../../../assets/images/logo.png"),
    };
  },
};
</script>

<style lang="less" scoped>
@import "../../../../assets/css/var.less";
.logo {
  width: 100%;
  height: 60px;
  background: #fff;
  border-bottom: 1px solid @border-color;

  img {
    width: 94px;
    height: 39px;
    margin: 10px 15px;
  }
}
</style>
